import { request } from "@/utils/request";

export default {
  getThing(data) {
    return request("/sign/home/getThing", "post", data);
  },
  postThing(data) {
    return request("/sign/home/postThing", "post", data);
  },
  updateThing(data) {
    return request("/sign/home/updateThing", "post", data);
  },
  deleteThing(data) {
    return request("/sign/home/deleteThing", "post", data);
  },
  deleteByUserId(data) {
    return request("/sign/home/deleteByUserId", "post", data);
  },
  getAllRemindInfo() {
    return request("/sign/home/getRemindInfo", "get");
  },
  saveOrUpdate(data) {
    return request("/sign/maxAppsOrderBy/saveOrUpdate", "post", data);
  },
  sortAppList() {
    return request("/sign/sortAppList", "post");
  },
  getNumconut() {
    //https://soft.cmjy.sh.cn/restcloud/cmeduweb00001/v1/cmeduweb00001_bm_230424006/query
    return request(
      "/cmeduApi/cmeduweb00001/v1/cmeduweb00001_bm_230424006/query",
      "GET"
    );
  },
};
